<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<%= "index" %>
<h1>DVD Covers</h1>

<ul>
<% @attachment.each do |photo| -%>
  <li><%= link_to photo.filename, :action => 'show', :id => photo %></li>
<% end -%>
</ul>

<p><%= link_to 'New', :action => 'new' %></p>
